package project.web_2.model;

import java.util.ArrayList;
import java.util.List;

import javax.xml.bind.annotation.XmlRootElement;

/**
 * This class represent a city with its  
 * <ul>
 * 	<li>name</li>
 * 	<li>latitude</li>
 * 	<li>longitude</li>
 * 	<li>country</li>
 * </ul>
 *
 */
@XmlRootElement
public class Resume {
	
	// ATTRIBUTS
	
	private String lastName;
	private String firstName;
	private String objective;
	private List<String> proExperience;
	private List<String> schoolHistory;
	private List<String> ability;
	private List<String> language;
	private List<String> infoAbility;
	
	// CONSTRUCTEURS
	
	/**
	 * Crée une instance de {@link Resume } pour l'individu du nom transmis en paramètre.
	 * @param lastName le patronyme de l'individu
	 * @param firstName le prénom de l'individu
	 */
	public Resume(String lastName, String firstName) {
		this.lastName = lastName;
		this.firstName = firstName;
		proExperience = new ArrayList<String>();
		schoolHistory = new ArrayList<String>();
		ability = new ArrayList<String>();
		language = new ArrayList<String>();
		infoAbility = new ArrayList<String>();
	}
	
	public Resume() {
		this("", "");
	}

	/**
	 * @return le lastName
	 */
	public String getLastName() {
		return lastName;
	}

	/**
	 * @return le firstName
	 */
	public String getFirstName() {
		return firstName;
	}

	/**
	 * @return le objective
	 */
	public String getObjective() {
		return objective;
	}

	/**
	 * @return le proExperience
	 */
	public List<String> getProExperience() {
		return proExperience;
	}

	/**
	 * @return le schoolHistory
	 */
	public List<String> getSchoolHistory() {
		return schoolHistory;
	}

	/**
	 * @return le ability
	 */
	public List<String> getAbility() {
		return ability;
	}

	/**
	 * @return le language
	 */
	public List<String> getLanguage() {
		return language;
	}

	/**
	 * @return le infoAbility
	 */
	public List<String> getInfoAbility() {
		return infoAbility;
	}

	/**
	 * @param lastName le lastName à définir
	 */
	public void setLastName(String lastName) {
		this.lastName = lastName;
	}

	/**
	 * @param firstName le firstName à définir
	 */
	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}

	/**
	 * @param objective le objective à définir
	 */
	public void setObjective(String objective) {
		this.objective = objective;
	}

	/**
	 * @param proExperience le proExperience à définir
	 */
	public void setProExperience(List<String> proExperience) {
		this.proExperience = proExperience;
	}

	/**
	 * @param schoolHistory le schoolHistory à définir
	 */
	public void setSchoolHistory(List<String> schoolHistory) {
		this.schoolHistory = schoolHistory;
	}

	/**
	 * @param ability le ability à définir
	 */
	public void setAbility(List<String> ability) {
		this.ability = ability;
	}

	/**
	 * @param language le language à définir
	 */
	public void setLanguage(List<String> language) {
		this.language = language;
	}

	/**
	 * @param infoAbility le infoAbility à définir
	 */
	public void setInfoAbility(List<String> infoAbility) {
		this.infoAbility = infoAbility;
	}
	
}
